package telebase;

public class WorkObj {

    private String workname;
    private Integer k;
    private Integer workpar;
    private String contname;
    private Integer contid;

    public WorkObj(Integer k, Integer workpar, String workname) {
        this.workname = workname;
        this.k = k;
        this.workpar = workpar;
    }

    @Override
    public String toString() {
        return this.workname;
    }

    public String getWorkname() {
        return workname;
    }

    public void setWorkname(String workname) {
        this.workname = workname;
    }

    public Integer getK() {
        return k;
    }

    public void setK(Integer k) {
        this.k = k;
    }

    public Integer getWorkpar() {
        return workpar;
    }

    public void setWorkpar(Integer workpar) {
        this.workpar = workpar;
    }

    public String getContname() {
        return contname;
    }

    public void setContname(String contname) {
        this.contname = contname;
    }

    public Integer getContid() {
        return contid;
    }

    public void setContid(Integer contid) {
        this.contid = contid;
    }
}
